//
//  LBWTempViewController.swift
//  weibo
//
//  Created by Limonwei on 15/12/5.
//  Copyright © 2015年 heima. All rights reserved.
//

import UIKit

class LBWTempViewController: UIViewController {
    
    override func viewDidLoad() {
        //
        super.viewDidLoad()
        
        title = "第\(navigationController?.childViewControllers.count ?? 0)级控制器"
        
        view.backgroundColor = UIColor.whiteColor()
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "PUSH", target: self, action: "push")
        
        
    }
    
    @objc private func push(){
        
        let vc = LBWTempViewController()
        
        navigationController?.pushViewController(vc, animated: true)
        
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }

}













